package com.appspot.entourage.ui.client;

import java.util.List;

import com.appspot.entourage.ui.shared.PersonResult;
import com.appspot.entourage.ui.shared.ProcessResult;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface EntourageServiceAsync {
	
	void getRelatedPeople(String personName,
			AsyncCallback<PersonResult[]> callback);
	
	void startProcess(int maxRadius, String url,
			AsyncCallback<ProcessResult> asyncCallback);
	
	void continueTo(AsyncCallback asyncCallback);
	
	void stopProcess(AsyncCallback asyncCallback);
	
	void pause(AsyncCallback asyncCallback);
	
	void getLogs(int maxNumber,
			AsyncCallback<ProcessResult> asyncCallback);

	void getRelatedPeopleAsXml(String url, AsyncCallback<String> callback);

	
}
